package com.mune.gulimall.product.feign;

import com.mune.common.to.SkuHasStockVo;
import com.mune.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

@Service
@FeignClient("gulimall-ware")
public interface WareFeignService {
  @PostMapping("/ware/waresku/hasstock")
  R getSkusHasStock(@RequestBody List<Long> skuIds);
}
